<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>代付管理系统</title>
</head>

<body>
	<div id="app"></div>
	<script type="text/javascript" src="./static/js/canvas-particle.js"></script>
	<script type="text/javascript">
		window.onload = function () {
			//配置
			var config = {
				id: 'app',
				vx: 4,	//小球x轴速度,正为右，负为左
				vy: 4,	//小球y轴速度
				height: 2,	//小球高宽，其实为正方形，所以不宜太大
				width: 2,
				count: 200,		//点个数
				color: "121, 162, 185", 	//点颜色
				stroke: "130,255,255", 		//线条颜色
				dist: 6000, 	//点吸附距离
				e_dist: 20000, 	//鼠标吸附加速距离
				max_conn: 10, 	//点到点最大连接数
				background: '#324157'
			}
			//调用
			CanvasParticle(config);
		}
	</script>

</body>

</html>